package bean;

import java.io.Serializable;

import javax.persistence.*;

@Entity
@Inheritance(strategy=InheritanceType.JOINED)
@Table(name = "articulos")
public class Articulo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5993697025903205351L;
	@Id
	@Column(name="idArticulo")
	protected int Id;
	private String description;
	private String pais;
	private float precio;

	public int getId() {
		return Id;
	}
	public void setId(int id) {
		Id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPais() {
		return pais;
	}
	public void setPais(String pais) {
		this.pais = pais;
	}
	public float getPrecio() {
		return precio;
	}
	public void setPrecio(float precio) {
		this.precio = precio;
	}

}
